﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Messaging.Messages;

namespace MeterReader.Messages
{
    public class NavigateRequestMessage : RequestMessage<ObservableObject>
    {
        public ObservableObject? ViewModel { get; set; }

        public NavigateRequestMessage(ObservableObject vm)
        {
            ViewModel = vm;
        }
    }
}